<%@ include file="/WEB-INF/include/base.jsp" %>
<%@ include file="/WEB-INF/include/initialize_logged.jsp" %>
<%@ page isELIgnored="false" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="./common/css/master.css"/>
</head>
<body>
	<table id="page">
		<com:header>
			This is a header
		</com:header>
		<com:subheader>
			<% if (session.getAttribute("user")==null) { %>
				<com:sub_h_item label="Home" action="${path }/Welcome.do"/>
				<com:sub_h_item label="Sign up" action="${path }/SignupPage.do"/>
				<com:sub_h_item label="Log in" action="${path }/LoginPage.do"/>
			<% } else { %>
				<com:sub_h_item label="Home" action="${path }/Home.do"/>
				<com:sub_h_item label="Account" action="${path }/AccountPage.do?select=1"/>
				<com:sub_h_item label="Log out" action="${path }/Logout.do"/>
			<% } %>
		</com:subheader>		
		<com:main_nav>
			<com:nav_item label="Home" action="${path }/Home.do"/>				
			<com:nav_item label="Flights" action="${path }/Flights.do"/>
			<com:nav_item label="About Us" action="${path }/AboutUs.do" active="true"/>
			<com:nav_item label="Contact Us" action="${path }/ContactUs.do"/>
		</com:main_nav>
		<com:content>
			<h1>About Us Page</h1>			
		</com:content>
		<com:footer>
			This is a footer
		</com:footer>
	</table>
</body>
</html>